package cn.kgc.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("cn.kgc.springboot.mapper")  //开启接口的扫描 生成代理对象 注入spring容器的管理
public class Springbootday01Application {

	public static void main(String[] args) {
		SpringApplication.run(Springbootday01Application.class, args);
	}

}
